package com.xzit.homework;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestBook {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("bean.xml");
        LibraryManager libraryManager = context.getBean("libraryManager", LibraryManager.class);
        libraryManager.provideBooks();
    }
}
